#include "DataStructure/Result/ElementalStrain/QUAD4_COMPStrainData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::Post;

bool SG::DataStructure::Post::operator== (const QUAD4_COMPStrainData& val1, const QUAD4_COMPStrainData& val2)
{
    FIELD_COMPARE (m_eId)
    FIELD_COMPARE (m_PLY)
    FIELD_COMPARE (m_X1)
    FIELD_COMPARE (m_Y1)
    FIELD_COMPARE (m_T1)
    FIELD_COMPARE (m_L1)
    FIELD_COMPARE (m_L2)
    FIELD_COMPARE (m_domainId)  // NOLINT(readability-simplify-boolean-expr)
    return true;
}

bool SG::DataStructure::Post::operator< (const QUAD4_COMPStrainData& a, const QUAD4_COMPStrainData& b)
{
    return a.m_eId < b.m_eId;
}
